package com.yqkj.zysoft.upms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yqkj.zysoft.upms.entity.FrameworkFunction;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 字典表 Mapper 接口
 * </p>
 *
 * @author GreatorMan.cool
 * @since 2022-08-10
 */
public interface FrameworkFunctionMapper extends BaseMapper<FrameworkFunction> {
    /**
     * 根据用户ID查询菜单列表
     * @param userId 用户ID
     * @return 返回用户菜单
     */
    List<FrameworkFunction> queryFunctionByUserId(@Param("userId") Long userId);

}
